package com.jiaai.share.api;

/**
 * Created by Administrator on 2018/1/8.
 */
public interface TShareApi {

    Object findByAll();


    Object findById(Integer id) throws Exception;

    /**
     *修改开关状态
     * @param id
     * @param state
     * @return
     */
    Object changeState(Integer id,Integer state) throws Exception;

    /**
     *添加编辑修改平台
     * @param id
     * appkey
     * appsecret
     * @return
     */
    Object edit(Integer id,String appkey,String appsecret) throws Exception;
}
